package com.mydesign.demo.service;

import com.mydesign.demo.bean.Store;
import com.mydesign.demo.bean.StoreToAssignment;
import com.mydesign.demo.model.ReturnResult;

import javax.servlet.http.HttpServletRequest;

public interface StoreService {
    //小店列表
    public ReturnResult StoreList(HttpServletRequest request);
    //添加小店
    public ReturnResult AddStore(Store store);
    //查询小店详情
    ReturnResult SelectStoreDetail(HttpServletRequest request);
    //指派小店订单
    ReturnResult OrderStore(StoreToAssignment assignment);

    //获取当前小店订单号
    ReturnResult getUserCurrentOrder(HttpServletRequest request);
    //更新小店
    ReturnResult updateStore(Store store);
    //收藏
    ReturnResult collect(HttpServletRequest request);
    //获取收藏
    public ReturnResult getcollect(HttpServletRequest request) ;
}
